package za.org.jcicada.genss.alarm.messages;

import java.util.Set;

import za.org.jcicada.genss.alarm.AlarmURN;
import za.org.jcicada.genss.messages.ReplyMessage;
import za.org.jcicada.genss.messages.Result;

/**
 * AlarmSetReply message class.
 * @author rcrida
 */
public class AlarmSetReply extends ReplyMessage {

    /**
     * Class serialization version id.
     */
    private static final long serialVersionUID = 1L;
    
    /**
     * The set of available alarms.
     */
    private Set<AlarmURN> alarmURNs;
    
    /**
     * Construct message
     * @param result structure describing status of request 
     * @param alarmURNs the set of alarms
     */
    public AlarmSetReply(Result result, Set<AlarmURN> alarmURNs) {
        super(result);
        this.alarmURNs = alarmURNs;
    }
    
    public Set<AlarmURN> getAlarmURNs() {
        return alarmURNs;
    }

}
